(tex-font-lock-keywords-2): Add citet and citep
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 10 May 2007 06:00:48 +0000 (06:00 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 10 May 2007 06:00:48 +0000 (06:00 +0000)
to the list of citation commands.

lisp/ChangeLog
lisp/textmodes/tex-mode.el

index af14d48bd9df5008079d00d0886c6f8c298d6d04..2cae02f11a46ef850b708d132c92e4eaa5d506ac 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep
+       to the list of citation commands.
+
 2007-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * vc-hooks.el (vc-find-root): Stop searching when the user changes.
index b5ca77e585385e76ba56d54647a7dc45b5fd4bf6..5757100468b9224dd2b5d8251db120878d468383 100644 (file)
@@ -527,6 +527,8 @@ An alternative value is \" . \", if you use a font with a narrow period."
            (citations (regexp-opt
                        '("label" "ref" "pageref" "vref" "eqref"
                          "cite" "nocite" "index" "glossary" "bibitem"
+                          ;; natbib's two variants of \cite:
+                          "citep" "citet"
                          ;; These are text, rather than citations.
                          ;; "caption" "footnote" "footnotemark" "footnotetext"
                          )